import { SYNC_UPDATA  } from './const'

export default {
    [SYNC_UPDATA ](state , newcars){
        
        state.cars = newcars
    },
    checkLogin: (state,payload) => {
        state.login = payload;
    }
}